package com.atguigu.edu2021.mock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author zhangchen
 * @since 2021-09-05
 */
@Data
public class VipChangeDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * vip(从）
     */
    private Integer fromVip;

    /**
     * vip(到）
     */
    private Integer toVip;

    /**
     * 创建时间
     */
    private Date createTime;



    @Override
    public String toString() {
        return "VipChangeDetail{" +
        "id=" + id +
        ", userId=" + userId +
        ", fromVip=" + fromVip +
        ", toVip=" + toVip +
        ", createTime=" + createTime +
        "}";
    }
}
